﻿/* ######################################## *\
 * ### Copyright (C) 2009 AJ Ravindiran ### *
 * ### HTTP://THEAJ.NET/ <AJ@THEAJ.NET> ### *
\* ######################################## */
using System;
using System.Collections.Generic;
using System.Text;

using AJRavindiran.Jolt.Storage;

namespace AJRavindiran.Jolt.RuneScape
{
    public class RuneScape
    {
        #region Fields
        private static GameEngine mGameEngine;
        #endregion

        #region Constructors
        public RuneScape()
        {
            // Inform the user that we are starting up RuneScape Emulator.
            JoltEnvironment.GetLogger().WriteInfo("RuneScape Emulator is now booting up on your computer...");

            // Initialize the waiting TCP connection.
            JoltEnvironment.GetTCPConnection().Initialize();

            // Start the GameEngine for player handling.
            mGameEngine = new GameEngine();

            JoltEnvironment.GetLogger().WriteBlank();
        }
        #endregion

        #region Methods
        public void ShutDown()
        {
        }

        public static GameEngine GetEngine()
        {
            return mGameEngine;
        }
        #endregion
    }
}
